package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 灾情业务对象 emg_disaster
 *
 * @author ruoyi
 * @date 2023-11-16
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class EmgDisasterBo extends BaseEntity {

    /**
     *
     */
    @NotNull(message = "不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 报警人
     */
    private Long userId;

    /**
     * 灾情类型
     */
    @NotBlank(message = "灾情类型不能为空", groups = {AddGroup.class, EditGroup.class})
    private String disasterTypeId;

    /**
     * 灾情时间
     */
    @NotNull(message = "灾情时间不能为空", groups = {AddGroup.class, EditGroup.class})
    private Date disasterTime;

    /**
     * 灾情标题
     */
    @NotBlank(message = "灾情标题不能为空", groups = {AddGroup.class, EditGroup.class})
    private String title;

    /**
     * 灾情描述
     */
    private String remark;

    /**
     * 上报人姓名
     */
    private String reportPerson;

    /**
     * 上报人电话
     */
    private String reportPersonPhone;

    /**
     * 灾情地址
     */
    private String address;

    /**
     * 坐标
     */
    private String lat;

    /**
     * 坐标
     */
    private String lng;

    /**
     * 图片1
     */
    private String image1;

    /**
     * 图片2
     */
    private String image2;

    /**
     * 图片3
     */
    private String image3;

    /**
     * 图片4
     */
    private String image4;

    /**
     * 图片5
     */
    private String image5;

    /**
     * 图片6
     */
    private String image6;

    /**
     * 过程描述
     */
    private String processDescription;

    /**
     * 灾情状态
     */
    private String status;


}
